.. _Util: ========================== Util ========================== .. toctree:: :maxdepth: 2 :hidden: :glob: EEex* +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | **Function** | **Description** | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_AreBitsSet` | Returns true if bits match | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_AreBitsUnset` | Returns true if bits dont match | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_CharFind` | Finds the first instance of the given char after or at the starting index | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_ConcatTables` | Flattens given table so that any nested tables are merged | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_CyclicBound` | Adjust a cyclical numeric value that is bounded by an lower and upper value | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_Flags` | Performs bitwise OR to combine flag values | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_IsBitSet` | Determines if an indexed bit value is set | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_IsBitUnset` | Determines if an indexed bit value is not set | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_IsMaskSet` | Determines if a mask value matches | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_IsMaskUnset` | Determines if a mask value does not match | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_IsValidBackstabDirection` | Returns true if the attackerID actor's direction is sufficent to backstab the targetID actor | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_RoundUp` | Rounds the given number upwards to the nearest multiple | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_SetBit` | Sets a specific bit in a value to 1 | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_SetBits` | Sets all the bit values to 1 that match the bitwise mask | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_SetMask` | Sets all the bit values to 1 that match the bitwise mask | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_SplitByChar` | Returns a table of string sequences that where separated by a char | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_StringStartsWith` | Checks the first character of a string | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_ToHex` | Converts a numeric value to a hex string | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_UnsetBit` | Sets a specific bit in a value to 0 | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_UnsetBits` | Sets all the bit values to 0 that match the bitwise mask | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_UnsetMask` | Sets all the bit values to 0 that match the bitwise mask | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+ | :ref:`EEex_WithinCyclicRange` | Returns true if a cyclical numeric value is within range of another numeric value | +---------------------------------------------------------------------+----------------------------------------------------------------------------------------------+